<template>
	<video :src="src" class="video" controls autoplay loop></video>
</template>

<script setup>
	import { onLoad } from "@dcloudio/uni-app"
	import { ref } from "vue";
	
	onLoad(options=>{
		src.value = options.src
	})
	
	let src = ref('')
	
</script>

<style scoped lang="scss">
	.video{
		width: 100vw;
		height: 100vh;
	}
	
	
	
</style>